app.controller('ShiftPausedModalCtrl', function ($scope, $modalInstance, param) {
    $scope.param = param;
    $scope.ok = function () { $modalInstance.close(param); };
    $scope.cancel = function () { $modalInstance.dismiss('cancel'); };
});